﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Skole01
{
    public partial class UserControlContactForm : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnSubmit_Click(object sender, EventArgs e)
        {
            lblName.Text = string.Format("Navn: {0}", txtName.Text);
            lblEmail.Text = string.Format("Email: {0}", txtEmail.Text);
            lblAddress.Text = string.Format("Adresse: {0}", txtAddress.Text);
            lblZipcode.Text = string.Format("Postnummer: {0}", txtZipcode.Text);
            lblCountry.Text = string.Format("Land: {0}", ddlCountry.SelectedItem.Text);
        }
    }
}